package cn.wolfcode.shop.mapper;

import cn.wolfcode.shop.domain.UserLogin;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface UserLoginMapper {
	int deleteByPrimaryKey(Long id);

	int insert(UserLogin record);

	UserLogin selectByPrimaryKey(Long id);

	List<UserLogin> selectAll();

	int updateByPrimaryKey(UserLogin record);

	UserLogin exists(String username);

	UserLogin login(@Param("username")String username, @Param("password")String password);
}